package com.yqz.bussi.mapper;

import com.yqz.bussi.form.BussiPaymentRecordForm;
import com.yqz.bussi.query.BussiPaymentRecordQuery;
import com.yqz.bussi.vo.BussiPaymentRecordVO;
import com.yqz.common.base.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface BussiPaymentRecordMapper extends BaseMapper<BussiPaymentRecordVO, BussiPaymentRecordQuery, BussiPaymentRecordForm> {

    Integer updateStateByKey(@Param("id") Integer id, @Param("state") Integer state);

    Map<String,Integer> selectCountByState(@Param("state") Integer state);
}